const TaskStatus: any =
{
  '0': "全部",
  '1': "未发布",
  '2': "已发布",
  '-1': "已取消",
  '3': "已完成",
};

const TaskStatusKV = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "未发布",
    value: 1
  },
  {
    text: "已发布",
    value: 2
  },
  {
    text: "已取消",
    value: -1
  },
  {
    text: "已完成",
    value: 3
  },
];

const OrderStatus: any =
{
  '0': "全部",
  '-1': "已取消",
  '1': "已接单",
  '3': "已下单",
  '4': "待评价",
  '5': "已评价",
  '6': "已完成",
  // '7': "已支付",
}

const OrderStatusKV = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "已取消",
    value: -1
  },
  {
    text: "已接单",
    value: 1
  },
  {
    text: "已下单",
    value: 3
  },
  {
    text: "待评价",
    value: 4
  },
  {
    text: "已评价",
    value: 5
  },
  {
    text: "已完成",
    value: 6
  },
  // {
  //   text: "已支付",
  //   value: 7
  // }
];

const PageOptions = [
  {
    text: 10,
    value: 10
  },
  {
    text: 15,
    value: 15
  },
  {
    text: 20,
    value: 20
  }
];

// 交易状态
const TopupStatus: any =
{
  '0': "待处理",
  '1': "审核通过",
  '-1': "审核未通过",
};

const TopupStatusKV = [
  {
    text: "待处理",
    value: 0
  },
  {
    text: "审核通过",
    value: 1
  },
  {
    text: "审核未通过",
    value: -1
  }
];

const BuyerStatus: any =
{
  '0': "全部",
  '1': "待处理",
  '2': "同意",
  '3': "拒绝",
};

const BuyerStatusKV = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "待处理",
    value: 1
  },
  {
    text: "同意",
    value: 2
  },
  {
    text: "拒绝",
    value: 3
  }
];

const MemberType: any =
{
  '0': "管理员",
  '1': "买手",
  '2': "商家",
};

const MemberTypeKV = [
  {
    text: "全部",
    value: '',
  },
  {
    text: "管理员",
    value: 0
  },
  {
    text: "买手",
    value: 1
  },
  {
    text: "商家",
    value: 2
  }
];

const UserType: any = {
  '0': "全部",
  '1': "系统角色",
  '2': "商户角色",
}
const UserTypeKV: any = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "系统角色",
    value: 1
  },
  {
    text: "商户角色",
    value: 2
  },
]

const TaskType: any = {
  '0': "全部",
  '1': "不留评价",
  '2': "留评价",
  '3': "product review",
  '4': "feedback",
}
const TaskTypeKV: any = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "不留评价",
    value: 1
  },
  {
    text: "留评价",
    value: 2
  },
  {
    text: "product review",
    value: 3
  },
  {
    text: "feedback",
    value: 4
  },
];

const IncomeType: any = {
  '0': '全部',
  '1': '充值',
  '2': '提现',
};

const IncomeTypeKV: any = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "充值",
    value: 1
  },
  {
    text: "提现",
    value: 2
  },
];

const PayMethod: any = {
  '1': '支付宝',
  '2': '微信',
  '3': 'PayPal',
};

const PayMethodKV: any = [
  {
    text: "支付宝",
    value: 1
  },
  {
    text: "微信",
    value: 2
  },
  {
    text: "PayPal",
    value: 3
  },
];
const AccruedType: any = {
  '0': '全部',
  // 收入
  '1': '任务基本应收',
  '3': '附加费应收',
  '5': '佣金应收',
  // 支出
  '2': '任务基本应付',
  '4': '附加费应付',
  '6': '佣金应付',
}

const ProjectType: any = {
  '0': '全部',
  '1': '充值',
  '2': '提现',
  '3': '发布任务',
}

const ProjectTypeKV: any = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "充值",
    value: 1
  },
  {
    text: "提现",
    value: 2
  },
  {
    text: "发布任务",
    value: 3
  },
];

const Site: any = {
  '1': 'US',
  '2': 'FR',
};

const SiteKV: any = [
  { text: "US", value: 1 },
  { text: "FR", value: 2 },
];


// 交易状态
const WithdrawStatus: any =
{
  '0': "全部",
  '1': "待处理",
  '2': "同意",
  '3': "拒绝",
};

const WithdrawStatusKV = [
  {
    text: "全部",
    value: 0
  },
  {
    text: "待处理",
    value: 1
  },
  {
    text: "同意",
    value: 2
  },
  {
    text: "拒绝",
    value: 3
  }
];


const Platform: any = {
  '1': 'Amazon',
};


const PlatformKV: any =
  [{
    text: 'Amazon',
    value: 1
  }];


const Country: any = {
  '1': 'US',
  '2': 'FR',
};


const CountryKV: any =
  [{
    text: 'US',
    value: 1
  },{
    text: 'FR',
    value: 2
  }];


const Category = {
  "1": "Prime Video",
  "2": "Music, CDs & Vinyl",
  "3": "Digital Music",
  "4": "Kindle Store",
  "5": "Arts & Crafts",
  "6": "Automotive",
  "7": "Baby",
  "8": "Beauty & Personal Care",
  "9": "Books",
  "10": "Computers",
  "11": "Electronics",
  "12": "Women's Fashion",
  "13": "Men's Fashion",
  "14": "Girls' Fashion",
  "15": "Boys' Fashion",
  "16": "Health & Household",
  "17": "Home & Kitchen",
  "18": "Industrial & Scientific",
  "19": "Luggage",
  "20": "Movies & Television",
  "21": "Pet Supplies",
  "22": "Software",
  "23": "Sports & Outdoors",
  "24": "Tools & Home Improvement",
  "25": "Toys & Games",
  "26": "Video Games"
};

const CategoryKV = [
  { text: "Prime Video", value: 1 },
  { text: "Music, CDs & Vinyl", value: 2 },
  { text: "Digital Music", value: 3 },
  { text: "Kindle Store", value: 4 },
  { text: "Arts & Crafts", value: 5 },
  { text: "Automotive", value: 6 },
  { text: "Baby", value: 7 },
  { text: "Beauty & Personal Care", value: 8 },
  { text: "Books", value: 9 },
  { text: "Computers", value: 10 },
  { text: "Electronics", value: 11 },
  { text: "Women's Fashion", value: 12 },
  { text: "Men's Fashion", value: 13 },
  { text: "Girls' Fashion", value: 14 },
  { text: "Boys' Fashion", value: 15 },
  { text: "Health & Household", value: 16 },
  { text: "Home & Kitchen", value: 17 },
  { text: "Industrial & Scientific", value: 18 },
  { text: "Luggage", value: 19 },
  { text: "Movies & Television", value: 20 },
  { text: "Pet Supplies", value: 21 },
  { text: "Software", value: 22 },
  { text: "Sports & Outdoors", value: 23 },
  { text: "Tools & Home Improvement", value: 24 },
  { text: "Toys & Games", value: 25 },
  { text: "Video Games", value: 26 },];




const SysGroup: any = {
  "1": "系统角色",
  "0": "商户角色",
};

export {
  TaskStatus,
  TaskStatusKV,
  TopupStatus,
  TopupStatusKV,
  BuyerStatus,
  BuyerStatusKV,
  MemberType,
  MemberTypeKV,
  PageOptions,
  UserType,
  UserTypeKV,
  OrderStatus,
  OrderStatusKV,
  TaskType,
  TaskTypeKV,
  IncomeType,
  IncomeTypeKV,
  ProjectType,
  ProjectTypeKV,
  Site,
  SiteKV,
  PayMethod,
  PayMethodKV,
  WithdrawStatus,
  WithdrawStatusKV,
  Platform,
  PlatformKV,
  Country,
  CountryKV,
  Category,
  CategoryKV,
  SysGroup
};